# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-lupa
_pkgname=${pkgname#py3-}
pkgver=1.14.1
pkgrel=1
pkgdesc="Python wrapper around Lua and LuaJIT"
url="https://pypi.org/project/lupa/"
arch="all"
license="MIT"
makedepends="python3-dev"
depends="python3"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
d3b30c5105539431ab12428764eeca62b341179ebfe8a4ab00fa301eb36e1b11f56bf6c130599b6fa611965860f33fe4ebee19c812f7ba7e56abac47c7d5e300  py3-lupa-1.14.1.tar.gz
"
